package br.com.compiler.sintatico;

import br.com.compiler.lexico.AnalysisError;

@SuppressWarnings("serial")
public class SyntaticError extends AnalysisError{
	
	private String lexeme;
	
    public SyntaticError(String msg, int position, String lexeme){
        super(msg, position);
        this.lexeme = lexeme;
    }

    public SyntaticError(String msg){
        super(msg);
    }

	public String getLexeme() {
		return lexeme;
	}    
    
}
